using Order.Api.Read.Application.Command;
using Order.Api.Read.Dto.Order;
using Order.ErrorCode;

namespace Order.Api.Read.Service.DrugOrdersService
{
    /// <summary>
    /// 药品订单服务接口
    /// </summary>
    public interface IDrugOrdersService
    {
        /// <summary>
        /// 获取药品订单分页数据
        /// </summary>
        /// <param name="command">分页查询命令</param>
        /// <returns>分页结果</returns>
        Task<ApiPageIng<DrugOrdersPageDto>> GetDrugOrdersPageAsync(DrugOrdersPageCommand command);

        /// <summary>
        /// 获取药品订单详情
        /// </summary>
        /// <param name="command">详情查询命令</param>
        /// <returns>订单详情</returns>
        Task<DrugOrdersDetailDto> GetDrugOrdersDetailAsync(DrugOrdersDetailCommand command);
    }
}